package com.offcn;

import com.xpand.starter.canal.annotation.CanalEventListener;
import com.xpand.starter.canal.annotation.EnableCanalClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Author: zola
 * @Date: 2021/9/10 - 09 - 10 - 22:19
 * @Description: com.offcn
 * @Version: 1.0
 */
@SpringBootApplication
@EnableDiscoveryClient // 开启SpringCloud所有的客户端
@EnableCanalClient     // 开启Canal客户端
public class CanalServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(CanalServiceApplication.class,args);
    }
}
